From: Sebastian Kemper Date: Sat, 3 Feb 2018 13:02:36 +0000 (+0100) Subject: kamailio-5.x: add CPPFLAGS to CFLAGS X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=8763b0703f92a6df73ad2bc15d55b2e40a905975;p=feed%2Ftelephony.git kamailio-5.x: add CPPFLAGS to CFLAGS Pass CPPFLAGS in the CFLAGS as otherwise the build system will ignore them. This way FORTIFY_SOURCE headers are passed to the compiler. Signed-off-by: Sebastian Kemper --- diff --git a/net/kamailio-5.x/Makefile b/net/kamailio-5.x/Makefile index a8d099d..b9531b1 100644 --- a/net/kamailio-5.x/Makefile +++ b/net/kamailio-5.x/Makefile @@ -121,7 +121,7 @@ PKG_MAKE_ARGS:= \ cfg_target:=/etc/kamailio/ \ TLS_HOOKS=1 \ extra_defs="-DUSE_PTHREAD_MUTEX " \ - CFLAGS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ LOCALBASE="$(STAGING_DIR)/usr" \ SYSBASE="$(STAGING_DIR)/usr" \ PCREDEFS:="$(TARGET_CPPFLAGS)" \